package com.example.onlinemonitoring.model.common;

public class alarmmessage {
    public alarmmessage(Integer stationid, Integer devicegroup, Integer deviceaddr, Integer pointaddr,
            String devicename, String pointname, Integer lastcommunicationstatus, String lastdatatime,
            Integer lastalarmlevel, String lastalarmmessage) {
        this.stationid = stationid;
        this.devicegroup = devicegroup;
        this.deviceaddr = deviceaddr;
        this.pointaddr = pointaddr;
        this.devicename = devicename;
        this.pointname = pointname;
        this.lastcommunicationstatus = lastcommunicationstatus;
        this.lastdatatime = lastdatatime;
        this.lastalarmlevel = lastalarmlevel;
        this.lastalarmmessage = lastalarmmessage;
    }

    public alarmmessage(Integer stationid, Integer devicegroup, Integer deviceaddr, Integer pointaddr,
            String devicename, String ename, String pointname, Integer lastcommunicationstatus, String lastdatatime,
            Integer lastalarmlevel, String lastalarmmessage) {
        this.stationid = stationid;
        this.devicegroup = devicegroup;
        this.deviceaddr = deviceaddr;
        this.pointaddr = pointaddr;
        this.devicename = devicename;
        this.ename = ename;
        this.pointname = pointname;
        this.lastcommunicationstatus = lastcommunicationstatus;
        this.lastdatatime = lastdatatime;
        this.lastalarmlevel = lastalarmlevel;
        this.lastalarmmessage = lastalarmmessage;
    }

    public alarmmessage(Integer stationid, Integer devicegroup, Integer deviceaddr, String devicename, String pointname,
            Integer lastcommunicationstatus, String lastdatatime, Integer lastalarmlevel, String lastalarmmessage) {
        this.stationid = stationid;
        this.devicegroup = devicegroup;
        this.deviceaddr = deviceaddr;
        this.devicename = devicename;
        this.pointname = pointname;
        this.lastcommunicationstatus = lastcommunicationstatus;
        this.lastdatatime = lastdatatime;
        this.lastalarmlevel = lastalarmlevel;
        this.lastalarmmessage = lastalarmmessage;
    }

    public Integer getStationid() {
        return stationid;
    }

    public void setStationid(Integer stationid) {
        this.stationid = stationid;
    }

    public Integer getDevicegroup() {
        return devicegroup;
    }

    public void setDevicegroup(Integer devicegroup) {
        this.devicegroup = devicegroup;
    }

    public Integer getDeviceaddr() {
        return deviceaddr;
    }

    public void setDeviceaddr(Integer deviceaddr) {
        this.deviceaddr = deviceaddr;
    }

    public String getDevicename() {
        return devicename;
    }

    public void setDevicename(String devicename) {
        this.devicename = devicename;
    }

    public String getPointname() {
        return pointname;
    }

    public void setPointname(String pointname) {
        this.pointname = pointname;
    }

    public Integer getLastcommunicationstatus() {
        return lastcommunicationstatus;
    }

    public void setLastcommunicationstatus(Integer lastcommunicationstatus) {
        this.lastcommunicationstatus = lastcommunicationstatus;
    }

    public Integer getLastalarmlevel() {
        return lastalarmlevel;
    }

    public void setLastalarmlevel(Integer lastalarmlevel) {
        this.lastalarmlevel = lastalarmlevel;
    }

    public String getLastalarmmessage() {
        return lastalarmmessage;
    }

    public void setLastalarmmessage(String lastalarmmessage) {
        this.lastalarmmessage = lastalarmmessage;
    }

    private Integer stationid;

    private Integer devicegroup;

    private Integer deviceaddr;

    private Integer pointaddr;

    private String devicename;

    private String ename;

    private String pointname;

    private Integer lastcommunicationstatus;

    private String lastdatatime;

    private Integer lastalarmlevel;

    private String lastalarmmessage;

    public String getLastdatatime() {
        return lastdatatime;
    }

    public void setLastdatatime(String lastdatatime) {
        this.lastdatatime = lastdatatime;
    }

    public Integer getPointaddr() {
        return pointaddr;
    }

    public void setPointaddr(Integer pointaddr) {
        this.pointaddr = pointaddr;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }
}
